//C file
/***********************************************
#      Copyright(C):2017
#      luminqi<lumqi@foxmail.com>
#      All rights reserved.
#
#      Filename: hello.c
#
#        Author: luminqi<lumqi@foxmail.com>
#   Description: 
#        Create: 2017-04-09 23:55:24
# Last Modified: 2017-04-09 23:55:41
***********************************************/
#include <linux/kernel.h>
#include <linux/module.h>

#define MOD_AUTHOR                "luminqi<lumqi@foxmail.com>"
#define MOD_DESC                  "It's just a Linux kernel module sample!"


static int __init hello_init(void)
{
    printk("hello world!\n");
    return 0;
}

static void __exit hello_exit(void)
{
    printk("goodbye!\n");
    return ;
}

module_init(hello_init);
module_exit(hello_exit);

MODULE_AUTHOR(MOD_AUTHOR);
MODULE_DESCRIPTION(MOD_DESC);
MODULE_LICENSE("GPL");
